
// 定义模块
const str = "hello ES6Module";
export { str };

const fn = function(){
    console.log(1);
}
export {fn};

const obj = {
    a:10,b:20
}
export {obj};

const show = ()=>{
    console.log("hahaha")
}
export {show};

const abc = "qweqwwwe"
export {abc};

// 一个模块文件内只能使用一次default关键字
// export default {
//     str, fn, obj, show, abc
// };


let jhasvchavds = "1231231"
export {jhasvchavds as asd};

setTimeout(function(){
    jhasvchavds = "0986786908"
}, 1000)
